package com.example.demo.util;

import java.util.UUID;

public class UUIDUtil {
    public static String getUUID(){
        UUID uuid = UUID.randomUUID();
        //将uuid的"-"替换掉
        String uuid_str = uuid.toString().replace("-", "");
        return uuid_str;
    }
}
